#!/bin/bash

# transfert relative dir into absolute dir

bin="$1"
bin=`cd "$bin";pwd`

os=`uname`
if [ "${os:0:3}" == "CYG" ]
then
if [ "${bin:0:4}" = "/cyg" ]
then
echo ${bin:10:1}:${bin:11}
else
echo ${bin}
fi
else
echo ${bin}
fi